package com.dao;

import java.util.List;
import java.util.Map;

import com.model.Module;

public interface ModuleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Module record);

    int insertSelective(Module record);

    Module selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Module record);

    int updateByPrimaryKey(Module record);
    
    public List<Module> selectAllModules(Map<Object, Object> map);

	public int countModules();
	
	
	public List<Module> selectParentModules(Map<Object, Object> map);
	
	
}